<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>表单输入绑定</title>
</head>

<body>
    <div id="app">
        <input type="radio" id="one" value="One" v-model="picked">
        <label for="one">One</label>
        <br>
        <input type="radio" id="two" value="Two" v-model="picked">
        <label for="two">Two</label>
        <br>
        <span>Picked: {{ picked }}</span>
    </div>

    <script type="module">
        import Vue from '../vue.esm.browser.js'

        const app = new Vue({
            el: '#app',
            data: {
                picked: '',
            }
        })
    </script>
</body>

</html>